package com.wunu.smartlock1.net.response;

public class ApiRegistResponse{
    private Rcode data;
    private int code;
    public Rcode getData() {
        return data;
    }

    public void setData(Rcode data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
    public class Rcode{
         private int code;
         private String msg;

         public void setCode(int code){this.code=code;}
         public int getCode(){return this.code;}
         public void setMsg(String msg){this.msg = msg;}
         public String getMsg(){return this.msg;}
         public String toString(){
             return "code: "+code+"\tmsg: "+msg;
         }
    }
    public String toString(){
        return "code: "+code+"\tdata: "+data;
    }
}
